'''
Author: your name
Date: 2021-11-06 17:11:58
LastEditTime: 2021-11-06 17:14:16
LastEditors: Please set LastEditors
Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
FilePath: /opencv-python/show_image/matplotlib_img_show.py
'''
import numpy as np
import cv2
from matplotlib import pyplot as plt

img = cv2.imread('/Users/simon.yang/Programming/cv-learning/image/lens.jpeg')
plt.imshow(img, cmap='gray', interpolation='bicubic')
plt.xticks([]), plt.yticks([])  # 隐藏 x 轴和 y 轴上的刻度值
plt.show()
